
<style>
	.pageFormContent dl dt{width:100px;}
	.pageFormContent dl dd{width:220px;}
</style>
<div class="pageContent">
    <form method="post" action="{:U('Role/update')}" onsubmit="return validateCallback(this,dialogAjaxDone);">      
	   <input type="hidden" name="id" value="{$role['id']}" />
        <div class="pageFormContent nowrap" layoutH="97">
            <div>
			<dl>
                <dt>用户组名称：</dt>
					
                <dd>
                   <input type='text' name='data[name]' value='{$role.name}' />
                </dd>
            </dl>
            <dl>
                <dt>是否激活：</dt>
                <dd>
                	<input type='radio' name='data[status]' value='1' {if $role['status'] == 1}checked='checked'{/if} /> 是
					<input type='radio' name='data[status]' value='0' {if $role['status'] == 0}checked='checked' {/if} /> 否
					
                </dd>
            </dl>
			
			</div>
			
			 <div>
			    <dl>
                <dt>描述：</dt>
                <dd>
                   <textarea name='data[remark]' cols='50' rows='5' >{$role.remark}</textarea>
                </dd>
            </dl>
          
          </div>
		  
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                保存
                            </button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
